#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	long long int n = 2021041820210418;
	long long int arr[1000];
	long long int i;
	long long int x = 0;
	int j = 0;
	int y = 0;
	int count = 0;
	for (i = 1; i < n / i; i++)
	{
		if (n % i == 0)
		{
			arr[j++] = i;
			x = n / i;
			if (x != i)
			{
				arr[j++] = x;
			}
		}
	}
	for (i = 0; i < j; i++)
	{
		for (x = 0; x < j; x++)
		{
			for (y = 0; y < j; y++)
			{
				if (arr[i] * arr[x] * arr[y] == n)
					count++;
			}
		}
	}
	printf("%d", count);
	return 0;
}